import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../common/app_colors.dart';
import 'bar_chart1/bar_chart1_view.dart';
import 'bar_chart_logic.dart';

class BarChartPage extends StatelessWidget {
  BarChartPage({Key? key}) : super(key: key);

  final logic = Get.put(BarChartLogic());
  final state = Get.find<BarChartLogic>().state;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        backgroundColor: AppColors.colorFF282E45,
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: Text(state.title ?? ""),
        ),
        body: ListView(children: const [BarChart1Page()]));
  }
}
